<?php

/**
 * @version: 1.5
 * @Project: MightMedia TVS
 * @Puslapis: www.coders.lt
 * @$LastChangedBy$
 * @copyright CodeRS ©2009
 * @license GNU General Public License v2
 * @$LastChangedRevision$
 * @$LastChangedDate$
 * @$HeadURL$
 **/

$status = (isset($_SERVER['REDIRECT_STATUS'])?$_SERVER['REDIRECT_STATUS']:'404');
switch ($status) {
	case 403: {
			$tipas = 'Bomžams draudžiama';
			break;
		}
	case 404: 	{
			$tipas = 'Puslapis nerastas';
			break;
		}
	case 200: 	{
			$tipas = 'Bomžams draudžiama';
			break;
		}
	default: {
			$tipas = 'Klaida';
			break;
		}
}
header("Content-type: text/html; charset=utf-8");
header(' ', true, $status);
?>

<HTML>
<HEAD>
<TITLE><?php
echo $status . ' - ' . $tipas ?></TITLE>
</HEAD>
<BODY>
	<H1 style="color:red"><?php echo $tipas; ?></H1>
	<hr>
	Įvyko nesusipratimas? Susisiekite su puslapio administracija.
</BODY>
</HTML>